


//
//  MBCircleBTN.m
//  发布求租
//
//  Created by MB__Lee on 2018/6/6.
//  Copyright © 2018年 MB__Lee. All rights reserved.
//

#import "MBCircleBTN.h"

@implementation MBCircleBTN


-(instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        [self setTitleColor:[UIColor whiteColor] forState:UIControlStateSelected];
        [self setTitleColor:MBCirBTNColor forState:UIControlStateNormal];
        self.backgroundColor = MBLightLineColor;
        
        [self setNeedsDisplay];
        
    }

    return self;
}
-(void)setSelected:(BOOL)selected{
    [super setSelected:selected];
    if (selected) {
        self.backgroundColor = MB_mainSelectedColor;
    }else{
        self.backgroundColor =  MBLightLineColor;
    }
  
}






@end
